home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: jlilley@ix.netcom.com (John Lilley)
- Newsgroups: comp.lang.c++
- Subject: Re: Memory and Borland C++ ... Urgent
- Date: 27 Mar 1996 06:00:54 GMT
- Organization: Netcom
- Message-ID: <4jalim$d58@dfw-ixnews2.ix.netcom.com>
- References: <1996Mar26.184644.116670@kuhub.cc.ukans.edu>
- NNTP-Posting-Host: den-co10-01.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-NETCOM-Date: Wed Mar 27 12:00:54 AM CST 1996
- X-Newsreader: WinVN 0.99.7
-
- In article <1996Mar26.184644.116670@kuhub.cc.ukans.edu>,
- Unknown@Unknown.cc.com says...
- >
- > Hi, I need some advice... I have to do a project for a class here.
- >And need to find the effectiveness of different sorting algorithms.
- >Have to find the total number of compares and switches in the
- >different algorithms. I have to do this for 10, 50, 100, 1000, 2500,
- >5000, and 10000 size arrays. These arrays are integer arrays of
- >random numbers that I need to sort. I am okay up to 1000 and then
- >when I try to do above that I am getting errors.
-
- Sounds like 16-bit DOS. Try declaring the array as:
-
- int far array[10000];
-
- or if that fails:
-
- int huge array[10000];
-
- john lilley
-
-